package org.feifei.pet.service.impl;

import org.feifei.basic.service.impl.BaseServiceImpl;
import org.feifei.pet.domain.PetDetail;
import org.feifei.pet.mapper.PetDetailMapper;
import org.feifei.pet.service.PetDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PetDetailServiceImpl extends BaseServiceImpl<PetDetail> implements PetDetailService {

    @Resource
    private PetDetailMapper petDetailMapper;
    @Override
    public PetDetail getByPetId(Long petId) {
        return petDetailMapper.loadByPetId(petId);
    }
}
